Platform Explorer / Nuxeo Platform 2021.61

Contribution org.nuxeo.ecm.platform.webapp.base.properties--configuration3

This contribution is part of XML component org.nuxeo.ecm.platform.webapp.base.properties inside nuxeo-platform-webapp-base-2021.61.12.jar /OSGI-INF/webapp-base-properties.xml

Documentation

Properties controlling resources management:

  • nuxeo.jsf.combinePageResources: serve all js and CSS resources of a page with a single request (instead of bundle by bundle)
  • nuxeo.jsf.deferJavaScriptLoading: move all JavaScript resources at the end of the page. WARNING - enabling this might break some inline JavaScript code behaviors.

Extension Point

Extension point configuration of component ConfigurationService.

Registration Order

53
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <property name="nuxeo.jsf.combinePageResources">true</property>
  • <property name="nuxeo.jsf.deferJavaScriptLoading">true</property>

XML Source

<extension point="configuration" target="org.nuxeo.runtime.ConfigurationService">
    <documentation>
      Properties controlling resources management:
      <ul>
        <li><strong>nuxeo.jsf.combinePageResources</strong>: serve all js and CSS resources
            of a page with a single request (instead of bundle by bundle)</li>
        <li><strong>nuxeo.jsf.deferJavaScriptLoading</strong>: move all JavaScript resources
            at the end of the page. WARNING - enabling this might break
            some inline JavaScript code behaviors.</li>
      </ul>
    </documentation>
    <property name="nuxeo.jsf.combinePageResources">true</property>
    <property name="nuxeo.jsf.deferJavaScriptLoading">true</property>
  </extension>